import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import Home from '@/components/Home'
import Home1 from '@/components/Home1'
/* import iView from 'iview'
import 'iview/dist/styles/iview.css'  // 使用 CSS */
Vue.use(Router)

/* Vue.use(iView) */
export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    },
    {
      path: '/home1',
      name: 'Home1',
      component: Home1
    }
  ]
})
